/*Nama File : CommandExecutorExp.h
  Pembuat	: Jonathan Ery Pradana / 23512038
  Tanggal 	: 2 November 2012
  Deskripsi	: Definisi Class Command Executor Exception
  */
  
#ifndef _COMMAND_EXECUTOR_EXP_H
#define _COMMAND_EXECUTOR_EXP_H

#include <iostream>
using namespace std;

const int WRONG_CAL_NAME = 1;
const int NO_CALENDAR = 2;
const int NO_UNDO = 3;
const int ARG_NOT_INT = 4;
const int COM_NOT_VALID = 5;

class CommandExecutorExp{
	private:
		static int num_ex;
		static string msg[];
		const int msg_id;
	public:
		CommandExecutorExp();
		CommandExecutorExp(int x);
		CommandExecutorExp(const CommandExecutorExp&);
		CommandExecutorExp& operator=(const CommandExecutorExp&);
		~CommandExecutorExp();
		
		void DisplayMsg() const;
		static int GetNumException();
};

#endif
